package com.cy.wangly.rest.controller;

import com.cy.wangly.rest.annotation.MyAnnotation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author lingyun.wang on @date 2021/11/3
 */
@RestController
@RequestMapping(value = "/annotation")
public class AnnotationController {
    @GetMapping(value = "/test")
    @MyAnnotation(value={"123","213","444"})
    public List<String> getAnnotationValue(List<String> value) {
        return value;
    }
}
